<?php

namespace App\Model;
use Hyperf\Database\Model\SoftDeletes;

class OrderGood extends Model {
    protected $table = 'order_good';
    use SoftDeletes;

    // protected $fillable = [
    //     'good_id',
    //     'title',
    //     'user_id',
    //     'amount',
    // ];

    public function parentOrder() {
        return $this->hasMany(Order::class);
    }
}